home *** CD-ROM | disk | FTP | other *** search
/ Visual Basic Source Code / Visual Basic Source Code.iso / vbsource / vbpxen / vvstart.frm < prev    next >
Text File  |  1995-10-23  |  6KB  |  212 lines

  1. VERSION 2.00
  2. Begin Form form0 
  3.    BackColor       =   &H00FFFFFF&
  4.    Caption         =   "Visual Video Demo"
  5.    ClientHeight    =   3240
  6.    ClientLeft      =   3540
  7.    ClientTop       =   1305
  8.    ClientWidth     =   5790
  9.    Height          =   3930
  10.    Icon            =   VVSTART.FRX:0000
  11.    Left            =   3480
  12.    LinkMode        =   1  'Source
  13.    LinkTopic       =   "Form2"
  14.    ScaleHeight     =   3240
  15.    ScaleWidth      =   5790
  16.    Top             =   675
  17.    Width           =   5910
  18.    Begin TextBox dbdir 
  19.       Enabled         =   0   'False
  20.       Height          =   375
  21.       Left            =   240
  22.       TabIndex        =   7
  23.       Text            =   " "
  24.       Top             =   2640
  25.       Width           =   1455
  26.    End
  27.    Begin CommandButton Command1 
  28.       Caption         =   "E&xit"
  29.       FontBold        =   -1  'True
  30.       FontItalic      =   0   'False
  31.       FontName        =   "MS Sans Serif"
  32.       FontSize        =   12
  33.       FontStrikethru  =   0   'False
  34.       FontUnderline   =   0   'False
  35.       Height          =   495
  36.       Left            =   2400
  37.       TabIndex        =   1
  38.       Top             =   2520
  39.       Width           =   855
  40.    End
  41.    Begin PictureBox Picture2 
  42.       BorderStyle     =   0  'None
  43.       Height          =   495
  44.       Left            =   4560
  45.       Picture         =   VVSTART.FRX:0302
  46.       ScaleHeight     =   495
  47.       ScaleWidth      =   495
  48.       TabIndex        =   5
  49.       Top             =   2280
  50.       Width           =   495
  51.    End
  52.    Begin PictureBox Picture1 
  53.       Height          =   495
  54.       Left            =   360
  55.       Picture         =   VVSTART.FRX:0604
  56.       ScaleHeight     =   465
  57.       ScaleWidth      =   465
  58.       TabIndex        =   4
  59.       Top             =   240
  60.       Width           =   495
  61.    End
  62.    Begin Label Label4 
  63.       Caption         =   "Have a nice life"
  64.       Height          =   255
  65.       Left            =   4200
  66.       TabIndex        =   6
  67.       Top             =   2880
  68.       Width           =   1695
  69.    End
  70.    Begin Label Label5 
  71.       Caption         =   "Database directory:"
  72.       Height          =   255
  73.       Left            =   240
  74.       TabIndex        =   8
  75.       Top             =   2280
  76.       Width           =   1815
  77.    End
  78.    Begin Label Label6 
  79.       Caption         =   "by Steve Jackson, October 1991"
  80.       Height          =   375
  81.       Left            =   480
  82.       TabIndex        =   9
  83.       Top             =   1560
  84.       Width           =   4815
  85.    End
  86.    Begin Label Label2 
  87.       BackColor       =   &H00FFFFFF&
  88.       Caption         =   "Written in Visual Basic and Paradox Engine"
  89.       FontBold        =   -1  'True
  90.       FontItalic      =   0   'False
  91.       FontName        =   "MS Sans Serif"
  92.       FontSize        =   9.75
  93.       FontStrikethru  =   0   'False
  94.       FontUnderline   =   0   'False
  95.       Height          =   255
  96.       Left            =   480
  97.       TabIndex        =   2
  98.       Top             =   1200
  99.       Width           =   5055
  100.    End
  101.    Begin Label Label3 
  102.       BackColor       =   &H00FFFFFF&
  103.       Caption         =   "Video checkout system for Windows"
  104.       FontBold        =   -1  'True
  105.       FontItalic      =   -1  'True
  106.       FontName        =   "MS Sans Serif"
  107.       FontSize        =   9.75
  108.       FontStrikethru  =   0   'False
  109.       FontUnderline   =   0   'False
  110.       Height          =   375
  111.       Left            =   1200
  112.       TabIndex        =   3
  113.       Top             =   720
  114.       Width           =   4935
  115.    End
  116.    Begin Label Label1 
  117.       BackColor       =   &H00FFFFFF&
  118.       Caption         =   "Visual Video Demo"
  119.       FontBold        =   -1  'True
  120.       FontItalic      =   -1  'True
  121.       FontName        =   "MS Sans Serif"
  122.       FontSize        =   18
  123.       FontStrikethru  =   0   'False
  124.       FontUnderline   =   0   'False
  125.       Height          =   495
  126.       Left            =   1200
  127.       TabIndex        =   0
  128.       Top             =   240
  129.       Width           =   4455
  130.    End
  131.    Begin Menu Menucheckout 
  132.       Caption         =   "&Checkout"
  133.    End
  134.    Begin Menu MenuReturn 
  135.       Caption         =   "&Return"
  136.    End
  137.    Begin Menu MenuCustomer 
  138.       Caption         =   "C&ustomer"
  139.    End
  140.    Begin Menu MenuInventory 
  141.       Caption         =   "&Inventory"
  142.    End
  143.    Begin Menu MenuAbout 
  144.       Caption         =   "&About"
  145.    End
  146. End
  147.  
  148. Sub Command1_Click ()
  149.     rc = Shutdown()
  150.     End
  151. End Sub
  152.  
  153. Sub Command2_Click ()
  154.  
  155. End Sub
  156.  
  157. Sub Form_Load ()
  158.     screen.MousePointer = POINTER_HOURGLASS
  159.     rc = StartUp()
  160.     screen.MousePointer = POINTER_DEFAULT
  161.     dbdir.text = db_dir
  162. End Sub
  163.  
  164. Sub Form_Unload (Cancel As Integer)
  165.     rc = Shutdown()
  166. End Sub
  167.  
  168. Sub MenuAbout_Click ()
  169.     ' Show it modeless
  170.     vvabout.Show 1
  171. End Sub
  172.  
  173. Sub Menucheckout_Click ()
  174.     screen.MousePointer = POINTER_HOURGLASS
  175.     checkout.Show
  176.     screen.MousePointer = POINTER_DEFAULT
  177. End Sub
  178.  
  179. Sub MenuCustomer_Click ()
  180.     '
  181.     '  Start the customer edit form MODELESS,
  182.     '  which means it must be completed before returning
  183.     '
  184.     screen.MousePointer = POINTER_HOURGLASS
  185.     custedit.Show 1
  186.     screen.MousePointer = POINTER_DEFAULT
  187. End Sub
  188.  
  189. Sub MenuInventory_Click ()
  190.     '
  191.     '  Start the inventory edit form MODELESS,
  192.     '  which means it must be completed before returning
  193.     '
  194.     screen.MousePointer = POINTER_HOURGLASS
  195.     itemedit.Show 1
  196.     screen.MousePointer = POINTER_DEFAULT
  197.  
  198. End Sub
  199.  
  200. Sub MenuReturn_Click ()
  201.     returnform.Show
  202. End Sub
  203.  
  204. Sub Picture1_Click ()
  205.     MenuAbout_Click
  206. End Sub
  207.  
  208. Sub Picture2_Click ()
  209.     rc = MsgBox("Have a very nice life!", MB_ICONEXCLAMATION, "Life")
  210. End Sub
  211.  
  212.